
package cn.admin.business;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * 启动程序
 *
 * @author YJ
 */
@MapperScan("cn.admin.**.mapper")
@ComponentScan(basePackages = { "cn.admin.common","cn.admin.system"}, excludeFilters = {})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class AdminApplication {
    public static void main(String[] args){
        SpringApplication.run(AdminApplication.class, args);
        System.out.println("启动成功");
    }
}
